package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author  ClayeLink
 * @date  2021/12/31 14:51
 */
@Mapper
public interface RoleMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectAll();
}